package com.wilmer.stemCourse.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * STEM课程对象 yw_stem_course
 * 
 * @author zl
 * @date 2024-04-15
 */
public class YwStemCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long courseId;

    /** 课程结构id */
    @Excel(name = "课程结构id")
    private Long conId;
    private String conName;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程内容的简短描述 */
    private String courseDescription;

    /** 课程属于STEM中的哪个学科（1科学 2技术 3工程 4数学 */
    @Excel(name = "课程属于STEM中的哪个学科", readConverterExp = "课程属于STEM中的哪个学科（1科学 2技术 3工程 4数学")
    private String subjectCategory;

    /** 课程的难度等级，(1初级 2中级 3高级) */
    @Excel(name = "课程的难度等级，(1初级 2中级 3高级)")
    private String difficultyLevel;

    /** 课程适合的学生年级 */
    @Excel(name = "课程适合的学生年级")
    private String recommendedGrade;

    /** 学分 */
    @Excel(name = "学分")
    private BigDecimal credits;

    /** 课程的大致完成时间 */
    @Excel(name = "课程的大致完成时间")
    private String duration;

    public String getConName() {
        return conName;
    }

    public void setConName(String conName) {
        this.conName = conName;
    }

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setConId(Long conId) 
    {
        this.conId = conId;
    }

    public Long getConId() 
    {
        return conId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseDescription(String courseDescription) 
    {
        this.courseDescription = courseDescription;
    }

    public String getCourseDescription() 
    {
        return courseDescription;
    }
    public void setSubjectCategory(String subjectCategory) 
    {
        this.subjectCategory = subjectCategory;
    }

    public String getSubjectCategory() 
    {
        return subjectCategory;
    }
    public void setDifficultyLevel(String difficultyLevel) 
    {
        this.difficultyLevel = difficultyLevel;
    }

    public String getDifficultyLevel() 
    {
        return difficultyLevel;
    }
    public void setRecommendedGrade(String recommendedGrade) 
    {
        this.recommendedGrade = recommendedGrade;
    }

    public String getRecommendedGrade() 
    {
        return recommendedGrade;
    }
    public void setCredits(BigDecimal credits) 
    {
        this.credits = credits;
    }

    public BigDecimal getCredits() 
    {
        return credits;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("conId", getConId())
            .append("courseName", getCourseName())
            .append("courseDescription", getCourseDescription())
            .append("subjectCategory", getSubjectCategory())
            .append("difficultyLevel", getDifficultyLevel())
            .append("recommendedGrade", getRecommendedGrade())
            .append("credits", getCredits())
            .append("duration", getDuration())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
